package com.jic.market.request.rest.allocation;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author xuyongliang
 * @version V1.0
 * @className UpdateAllocationInfoRequest
 * @description TODO
 * @date 2020/4/10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("更新分摊信息请求类")
public class UpdateAllocationInfoRequest {

    @NotNull(message = "缺少 活动编码 参数")
    @ApiModelProperty(value = "活动编码" )
    private String promotionCode;

    @ApiModelProperty(value = "母平台分摊金额")
    private BigDecimal parentAllocationAmount;

    @ApiModelProperty(value = "子平台分摊金额")
    private BigDecimal childAllocationScaleAmount;

    @ApiModelProperty(value = "商家分摊金额")
    private BigDecimal merchantAllocationAmount;

    @ApiModelProperty(value = "店铺分摊金额")
    private BigDecimal storeAllocationAmout;

}
